<!--
 * @Author: CNN 969682281@qq.com
 * @Date: 2023-08-07 17:56:30
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-11-12 13:34:01
 * @FilePath: \child\src\App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div id="app zlyj" style="height: 100%">
    <router-view></router-view>
    <!-- v-if="isRouterAlive" -->
  </div>
</template>
<script>
export default {
  name: "App",
  provide() {
    return {
      reload: this.reload,
    };
  },
  data() {
    return {
      isRouterAlive: true,
    };
  },
  components: {},
  mounted() {

  },
  methods: {
    reload() {
      this.isRouterAlive = false;
      this.$nextTick(function () {
        this.isRouterAlive = true;
      });
    },

  },
};
</script>
<style>
#__qiankun_microapp_wrapper_for_child__,
#app {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  background: #f0f2f5;
}
</style>


